package com.captjack.shiro.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Capt Jack
 * @date 2018/6/7
 */
@RestController
@RequestMapping(value = "/hello", method = {RequestMethod.GET})
public class HelloController {

    @RequestMapping(value = "/hello", method = {RequestMethod.GET})
    public String index() {
        return "hello!";
    }

}
